<%@page import="bean.MemberVo"%>
<%@page import="bean.MemberDTO"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>view.jsp</title>
<link rel='stylesheet' href='./css/member.css'/>
<script src='./js/member.js'></script>
</head>
<body>
<jsp:useBean id="vo" class="bean.MemberVo" scope="page"/>
<jsp:setProperty property="*" name="vo"/>
<%
MemberDTO dto = new MemberDTO();
dto.setVo(vo);
MemberVo v = dto.selectOne();

%>

<h1>회원세부정보 보기</h1>
<li>아이디 : <%=v.getMid() %>
<li>성명 : <%=v.getIrum()%>
<li>사진 : <%=v.getPhoto()%>

<%
if(v.getPhoto() != null){%>
	<li><img src='./memberPhoto/<%=v.getPhoto() %>' alt="사진" width='200px' height='250px'>
<%} %>
<p/>
<input type='button' value='게시판 작성 ' id='btnInput'/>
<input type='button' value='수정'       id='btnModify'/>
<input type='button' value='삭제'       id='btnDelete'/>
<input type='button' value='목록으로'    id='btnList'/>
<script>viewInit();</script>

<form name='memberFrm' method='post'>
	<input type='hidden' name='mid' value='<%=v.getMid()%>'/>
	<input type='hidden' name='photo' value='<%=v.getPhoto() %>'>
	<input type='hidden' name='nowPage' value='<%=vo.getNowPage() %>'>
	<input type='hidden' name='find' value='<%=vo.getFind() %>'>
</form>

</body>
</html>